package com.xuelang.pipeline.artifact.app.harborv2.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.OffsetDateTime;

/**
 * @author xiwen.zxg
 * @since 2024/7/11
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ListTagResponse {
    /**
     * The ID of the artifact that the tag attached to
     */
    private Long artifactID;
    /**
     * The ID of the tag
     */
    private Long id;
    /**
     * The immutable status of the tag
     */
    private Boolean immutable;
    /**
     * The name of the tag
     */
    private String name;
    /**
     * The latest pull time of the tag
     */
    private OffsetDateTime pullTime;
    /**
     * The push time of the tag
     */
    private OffsetDateTime pushTime;
    /**
     * The ID of the repository that the tag belongs to
     */
    private Long repositoryID;
}
